﻿using System;

namespace BizElements.Web
{
    #region Documentation.
    /// <summary>Allows applications to provide customized user interface messages for <see cref="SearchView"/> control.</summary>
    /// <remarks>You can implement the <b>ISearchViewTextSource</b> interface to provide custom localization of the <see cref="SearchView"/> control 
    /// user interface. Values returned from ISearchViewTextSource objects override values set through SearchView's properties. If a 
    /// ISearchViewTextSource property returns null then no override occurs, i.e. a value set through SearchView property or a skin file is used.</remarks>
    #endregion
    public interface ISearchViewTextSource
    {
        /// <summary>Gets or sets the format of the message which displays the total count of records matching the filter criteria.</summary>
        string RecordCountFormat { get; }
    }
}